package com.yunji.base.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.yunji.common.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Data
public class SiteAuditVO {
    @ApiModelProperty("审核ID")
    private Long auditId;

    @ApiModelProperty("审核类型")
    private Integer auditType;

    @ApiModelProperty("审核编码")
    private String auditCode;

    @ApiModelProperty("审核状态 0-待审核 1-通过 2-驳回 3-已取消")
    private Integer auditStatus;

    @ApiModelProperty("代理ID")
    private Long agentId;

    @ApiModelProperty("代理名称")
    private String agentName;

    @ApiModelProperty("网点ID")
    private Long siteId;

    @ApiModelProperty("网点类型")
    private Integer siteType;

    @ApiModelProperty("网点名称")
    private String siteName;

    @ApiModelProperty("分润类型")
    private Integer scaleType;

    @ApiModelProperty("分润比例")
    private BigDecimal scale;

    @ApiModelProperty("网点联系人")
    private String siteContacts;

    @ApiModelProperty("网点电话")
    private String siteTel;

    @ApiModelProperty("网点分成合同开始日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date siteScaleDates;

    @ApiModelProperty("网点分成合同结束日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date siteScaleDatee;

    @ApiModelProperty("申请人所属ID")
    private Long belongId;

    @ApiModelProperty("申请人所属名称")
    private String belongName;

    @ApiModelProperty("申请时间")
    private Date applyTime;

    @ApiModelProperty("审核人所属ID")
    private Long auditBelongId;

    @ApiModelProperty("审核人所属名称")
    private String auditBelongName;

    @ApiModelProperty("审核时间")
    private Date auditTime;

    @ApiModelProperty("原因")
    private String reason;

    @ApiModelProperty("省份名称")
    @Excel(name = "省份名称", width = 15)
    private String provinceName;

    @ApiModelProperty("省份代码")
    private String provinceCode;

    @ApiModelProperty("城市名称")
    @Excel(name = "城市名称", width = 15)
    private String cityName;

    @ApiModelProperty("城市代码")
    private String cityCode;

    @ApiModelProperty("区县名称")
    @Excel(name = "区县名称", width = 15)
    private String countyName;

    @ApiModelProperty("区县代码")
    private String countyCode;

    @ApiModelProperty("网点地址")
    @Excel(name = "网点地址", width = 15)
    private String region;

    @ApiModelProperty("网点详细地址")
    @Excel(name = "网点详细地址", width = 15)
    private String address;


    @ApiModelProperty("按年限分润列表")
    private List<SiteScaleVO> siteScaleList;
}
